package com.github.fujianlian.klinechart.draw;

import android.graphics.Canvas;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.github.fujianlian.klinechart.BaseKLineChartView;
import com.github.fujianlian.klinechart.base.IValueFormatter;
import com.github.fujianlian.klinechart.entity.RectInfo;

import java.util.List;

public class RectDraw extends BaseDraw<RectInfo,RectInfo> {
    BaseKLineChartView mRectView ;
    public  RectDraw(BaseKLineChartView tBaseKLineChartView) {
        super(RectInfo.class);

        mRectView =tBaseKLineChartView;
        init(mRectView);
    }

    @Override
    public void init(BaseKLineChartView view) {
        
    }

    @Override
    public void drawTranslated(@Nullable RectInfo lastPoint, @NonNull RectInfo curPoint, float lastX, float curX, @NonNull Canvas canvas, @NonNull BaseKLineChartView view, int position) {

    }

    @Override
    public void drawText(@NonNull Canvas canvas, @NonNull BaseKLineChartView view, int position, float x, float y) {

    }

    @Override
    public Float getMaxValue(RectInfo point) {
        return 0f;
    }

    @Override
    public float getMinValue(RectInfo point) {
        return 0f;
    }

    @Override
    public IValueFormatter getValueFormatter() {
        return null;
    }

    @Override
    public void drawTranslateds(Canvas canvas, BaseKLineChartView baseKLineChartView, List<RectInfo> datas, int mStartIndex, int mStopIndex) {
        
    }



    public void drawRect(Canvas canvas){


    }

}
